projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3084eca
)
Fix an memory overrun
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 26 Feb 2016 18:08:45 +0000
(13:08 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 26 Feb 2016 20:52:19 +0000
(15:52 -0500)
This was detected by gccs address sanitizer.
gdk/wayland/gdkdisplay-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdisplay-wayland.c
b/gdk/wayland/gdkdisplay-wayland.c
index fb9f26f00bea0d689b51e0d9cd3bee0580ea462e..7093a15576f0ff89b8cb031238f580e967e1eaec 100644
(file)
--- a/
gdk/wayland/gdkdisplay-wayland.c
+++ b/
gdk/wayland/gdkdisplay-wayland.c
@@
-392,6
+392,7
@@
_gdk_wayland_display_prepare_cursor_themes (GdkWaylandDisplay *display_wayland)
OnHasGlobalsClosure *closure;
static const char *required_cursor_theme_globals[] = {
"wl_shm",
+ NULL
};
closure = g_new0 (OnHasGlobalsClosure, 1);